home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98b.txt
/
000076_icon-group-sender _Tue Jun 9 08:29:15 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id IAA00493
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Tue, 9 Jun 1998 08:29:14 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA15308; Tue, 9 Jun 1998 08:29:06 -0700
Date: Tue, 9 Jun 1998 13:27:10 +1200 (NZST)
From: "Richard A. O'Keefe" <ok@atlas.otago.ac.nz>
Message-Id: <199806090127.NAA12029@atlas.otago.ac.nz>
To: evans@gte.net, vladimir.grodzenski@capway.com
Subject: Re: Directory access facilities
Cc: icon-group@optima.CS.Arizona.EDU
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Content-Length: 987
procedure dirlist(path, recurse_flag, filter)
return list of subdirectories
end
What's a recurse flag? If it's just true/false, it's no use. How do
you control whether mount points are crossed? Whether symbolic links
(aliases in MacSpeak) are followed? How cycles (possible in the
presence of aliases) are to be handled? Is the list depth first,
breadth first, or alphabetic (ascii or by locale)? What are the
arguments of the filter and what can it request? What about directories
that are known to be directories but cannot be read? What about
symbolic links whose target has disappeared?
procedure filelist(-idem-)
return list of files
end
Ditto.
People could at least take a serious look at ftw()/nftw().
Other people have had three-quarter baked ideas; no need
for us to half-bake our own. nftw() exists because ftw(),
which is richer than this proposal, just plain wasn't good enough.
If people won't buy "copy tcl", will they buy "look hard at nftw()?"